package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domian.DTO.ReplyDTO;
import com.tianji.learning.domian.query.ReplyPageQuery;
import com.tianji.learning.domian.vo.ReplyVO;
import com.tianji.learning.entity.InteractionReply;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 互动问题的回答或评论 服务类
 * </p>
 *
 * @author author
 * @since 2024-03-21
 */
public interface IInteractionReplyService extends IService<InteractionReply> {

    PageDTO<ReplyVO> queryReplyPage(ReplyPageQuery pageQuery, boolean b);

    void saveReply(ReplyDTO replyDTO);

    void hiddenReply(Long id, Boolean hidden);

    ReplyVO queryReplyById(Long id);
}
